@import './common/var.css';

.van-image-preview {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: fixed;

  &__image {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    max-width: 100%;
    max-height: 100%;
    position: absolute;
  }

  .van-swipe {
    height: 100%;
  }
}
